<template>
  <div class="fuyunmu3 base-background-img">
    <div class="ao" @click="playFun(ao)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/3/ao.png">
    </div>
    <div class="ou" @click="playFun(ou)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/3/ou.png">
    </div>
    <div class="iu" @click="playFun(iu)">
        <img src="~@/assets/youxiaoxianjie/fuyunmu/3/iu.png">
    </div>
    <c-pdf @closePdf="closePdf" v-if="isshowpdf" :info="info" :infourl="pdfurl"></c-pdf>
  </div>
</template>

<script>
  export default {
    name: 'fuyunmu3',
    data () {
      return {
        isshowpdf: false,
        infourl: '',
        info: '',
        ao: {
          url: 'static/youxiao/pdf/fuyunmu/ao.pdf',
          data: []
        },
        ou: {
          url: 'static/youxiao/pdf/fuyunmu/ou.pdf',
          data: []
        },
        iu: {
          url: 'static/youxiao/pdf/fuyunmu/iu.pdf',
          data: []
        }
      }
    },
    methods: {
      playFun: function (item) {
        console.log(item)
        this.isshowpdf = true
        this.pdfurl = item.url
        this.info = item.data
      },
      closePdf: function () {
        this.isshowpdf = false
      }
    }
  }
</script>

<style scoped>
.fuyunmu3 {
  background: url(~@/assets/youxiaoxianjie/fuyunmu/3/bg.png);
}
.fuyunmu3 > div {
  position: absolute; 
}
.ao {
  top: 290px;
  left: 220px;
}
.ou {
  top: 305px;
  left: 500px;
}
.iu {
  top: 280px;
  left: 865px;
}
</style>
